﻿namespace FFF.Test.Application.Repositories.Demo
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Demo;

	/// <summary>
    /// 学院表(树)展示时候的dto
    /// </summary>
	[AutoMap(typeof(DemoSchoolTeEntity))] 
    public class DemoSchoolTeResDto : EntityDto<Guid>
    {
		/// <summary>
        /// 编码
        /// </summary>
		[Display(Name = "编码", Description = "编码")]
        [Column("SchoolCode")]
		[StringLength(512)]
        public string SchoolCode { get; set; }
        
		/// <summary>
        /// 学院名称
        /// </summary>
		[Display(Name = "学院名称", Description = "学院名称")]
        [Column("SchoolTeName")]
		[StringLength(512)]
        public string SchoolTeName { get; set; }
        
		/// <summary>
        /// 树形的排序编码
        /// </summary>
		[Display(Name = "树形的排序编码", Description = "树形的排序编码")]
        [Column("OrderCode")]
		[StringLength(512)]
        public string OrderCode { get; set; }
        
		/// <summary>
        /// 对应的图标
        /// </summary>
		[Display(Name = "对应的图标", Description = "对应的图标")]
        [Column("Icon")]
		[StringLength(128)]
        public string Icon { get; set; }
        
    }
}
